package lumis.portal.principal.serialization;

import lumis.portal.PortalException;
import lumis.portal.authentication.SessionConfig;
import lumis.portal.serialization.ISerializationMessageConfigNodeBuilder;
import lumis.portal.serialization.SerializationContext;
import lumis.util.ITransaction;

/**
 * Manager Interface for Principal serialization 
 *
 * @version $Revision: 7037 $ $Date: 2007-05-25 22:53:02 -0300 (Fri, 25 May 2007) $
 * @since 4.0.10
 */
public interface IPrincipalSerializationManager
{
	public void analyzeExternalDependencies(SerializationContext serializationContext, ISerializationMessageConfigNodeBuilder serializationMessageConfigNodeBuilder, String principalId) throws PortalException;

	public boolean isGlobalPrincipal(SessionConfig sessionConfig, String principalId, ITransaction transaction) throws PortalException;
}
